<div>
	<h2 style="text-align:center"><?php echo $board['Name']; ?></h2>
	<h3 style="text-align:center"><?php echo $thread['Title']; ?></h3>
</div>
<div class="thread_menu"><?php echo $user['UserName'] . ' | ' . anchor('/Thread/post/'.$thread['ThreadID'], 'Post Message'); ?></div>
<div>
	<?php
		$thStyle = 'style="text-align:left"';
		foreach( $messages as $message )
		{
			$messageCreator = $this->user->get_user($message['User']);
			echo '<table>';
			echo '<tr><th '.$thStyle.'>User: '.$messageCreator['UserName'].' | Date: '.$message['Date'].'</th></tr>';
			echo '<tr><td>'.$this->typography->nl2br_except_pre($message['Body']).'</td></tr>';
			echo '</table>';
		}
	?>
</div>